#pragma once

#include "DataStructure/Common/DataStructureExport.h"
#include "DataStructure/Common/DataStructureNamespace.h"
#include "DataStructure/Input/Solver/DOFDirections.h"

#include "ElementTypes.h"

SG_DATASTRUCTURE_FEM_NAMESPACE_OPEN
/// 单元节点激活节点的自由度
/// 如壳可以将节点的6个自由度全部自由度激活， 而实体单元只能激活线自由度
DECLSPEC SG::DataStructure::FEM::DofSet getElementActiveDofs (const SG::DataStructure::FEM::ElementTypes type);

/// 判断单元类型是否是标量单元
DECLSPEC bool isScalarElementType (const SG::DataStructure::FEM::ElementTypes type);

SG_DATASTRUCTURE_FEM_NAMESPACE_CLOSE